package org.hgvc.webapp.ets.spring.service;

import java.io.File;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.myfaces.custom.fileupload.UploadedFile;
import org.jocsb.base.exception.BaseException;
import org.springframework.web.servlet.ModelAndView;

public interface FileService {
	public ModelAndView streamFile(HttpServletRequest req, HttpServletResponse res,String fileRootDir);
	public File uploadFile(UploadedFile uploadedFile,String fileRootDir,String filename)throws BaseException;
	public void removeFile(String fileRootDir,String filename)throws BaseException;
}
